/*
 * @FilePath: user.js
 * @Descripttion: 
 * @version: 1.0.0
 * @Author: 李金深
 * @Date: 2024-05-05 12:26:25
 * @LastEditors: 李金深
 * @LastEditTime: 2024-05-05 12:36:03
 */


import { defineStore } from 'pinia'

export const useUser = defineStore('user', {
  state: () => {
    return {
      mount:0
    }
  },
  actions: {
    add(){
      this.mount++;
    },
    sub(){
      this.mount--;
    }
  }
})
